package com.lct.d1_object;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.name = "小明";
        s1.chinese = 100;
        s1.math = 100;
        s1.printAllScore();
        s1.printAverageScore();


        Student s2 = new Student();
        s2.name = "小红";
        s2.math = 20;
        s2.chinese = 50;
        s2.printAverageScore();
        s2.printAllScore();
    }
}
